Skip to content

Rqsdk 789 #922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 21, 2025
Merged

Rqsdk 789 #922

merged 7 commits into from
May 21, 2025

Conversation

Lin-Dongzhao
Copy link
Collaborator

修复get_securities_margin 传入 XSHG、XSHE 等内容报错的问题

@Cuizi7 Cuizi7 merged commit d1d2a26 into develop May 21, 2025
22 checks passed
Cuizi7 added a commit that referenced this pull request May 27, 2025
* Add position queue management and related tests

Integrate a new PositionQueue class to handle trade tracking, splits, and delisting. Update existing code for proper queue handling in position models. Add comprehensive tests for stock, futures, splits, delisting, and short-selling scenarios to ensure accurate position queue functionality.

* Fix position queue rounding issue during stock splits

Ensure position queue quantity aligns with expected values after splits by addressing rounding discrepancies. Updated stock split handling logic and added corresponding test cases to verify the fix.

* Rqsdk 789 (#922)

* fix get_secutities_margin

* update test workflow ubuntu version

* 修改测试数据

---------

Co-authored-by: Cuizi7 <[email protected]>

* update version

---------

Co-authored-by: 崔子琦 <[email protected]>
Co-authored-by: Cuizi7 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants